<%--
  Created by IntelliJ IDEA.
  User: shisjin
  Date: 2023/9/26
  Time: 16:12
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>response_check</title>
</head>
<body>
<%
    String username = request.getParameter("username");
    String password = request.getParameter("password");

    if ("lisi".equals(username)&&"123456".equals(password)){//成功，即用户信息输入正确
       response.sendRedirect("response_success.jsp");
    }else {//登录失败
       response.sendRedirect("response_failed.jsp");

    }


%>

</body>
</html>
